#include<stdio.h>

int main(void)
{
	int n,flag=1;
	scanf("%d",&n);
	for(int i=0;i<n-1;i++)
	{
		if(flag==1)
		{
			printf("I hate that ");
		}
		else
		{
			printf("I love that ");
		}
		flag*=-1;
	}
	if(flag==1)
	{
		printf("I hate it");
	}
	else
	{
		printf("I love it");
	}
	
	return 0;
}
